package com.kkshop.gwt.registration;

import com.google.gwt.user.client.ui.Hyperlink;
import com.google.gwt.user.client.ui.Widget;
import com.kkshop.gwt.base.View;

public class RegistrationView implements View {
    
    private Hyperlink registerLink;
    
    public Widget getWidget() {
        return getRegisterLink();
    }
    
    protected Hyperlink getRegisterLink() {
        if(registerLink == null) {
            registerLink = new Hyperlink();
            registerLink.setText("Register");
        }
        return registerLink;
    }
}
